package org.vectrics.company;

import org.vectrics.common.db.RecordObject;

public class CompanyPersonGroup implements RecordObject {
	private Long id = null;
	private CompanyPersonRole companyPersonRole = null;
	private CompanyPersonGroupType companyPersonGroupType = null;
	private boolean global = true;
	
	public CompanyPersonGroup() {
		super();
	}

	/**
	 * @return Returns the companyPersonGroupType.
	 */
	public CompanyPersonGroupType getCompanyPersonGroupType() {
		return companyPersonGroupType;
	}

	/**
	 * @param companyPersonGroupType The companyPersonGroupType to set.
	 */
	public void setCompanyPersonGroupType(
			CompanyPersonGroupType companyPersonGroupType) {
		this.companyPersonGroupType = companyPersonGroupType;
	}

	/**
	 * @return Returns the companyPersonRole.
	 */
	public CompanyPersonRole getCompanyPersonRole() {
		return companyPersonRole;
	}

	/**
	 * @param companyPersonRole The companyPersonRole to set.
	 */
	public void setCompanyPersonRole(CompanyPersonRole companyPersonRole) {
		this.companyPersonRole = companyPersonRole;
	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return Returns the global.
	 */
	public boolean isGlobal() {
		return global;
	}

	/**
	 * @param global The global to set.
	 */
	public void setGlobal(boolean global) {
		this.global = global;
	}

}
